import type { RouteRecordRaw } from 'vue-router'
import { Role } from '@/constants/role'
import { RouterName } from '@/router/name'

export const uploadRoute = {
  name: RouterName.Upload,
  meta: {
    requireAuth: true,
    role: Role.Student,
    hideInMenu: true,
    hideChildrenInMenu: true
  },
  component: () => import('./index.vue')
} as const satisfies Omit<RouteRecordRaw, 'path'>
